package com.liveneo.adapter.base.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 图片查勘表 条件工具类
 * 
 * @author fucy
 * @since 2016-06-05
 */
public class PrpmImageSurveyExample {
    protected String         orderByClause;
    protected boolean        distinct;
    protected List<Criteria> oredCriteria;

    public PrpmImageSurveyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 图片查勘表
     * 数据库表：prpm_image_survey
     * 
     * @author fucy
     * @since 2016-06-05
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNull() {
            addCriterion("CaseUuid is null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIsNotNull() {
            addCriterion("CaseUuid is not null");
            return (Criteria) this;
        }

        public Criteria andCaseUuidEqualTo(String value) {
            addCriterion("CaseUuid =", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotEqualTo(String value) {
            addCriterion("CaseUuid <>", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThan(String value) {
            addCriterion("CaseUuid >", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidGreaterThanOrEqualTo(String value) {
            addCriterion("CaseUuid >=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThan(String value) {
            addCriterion("CaseUuid <", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLessThanOrEqualTo(String value) {
            addCriterion("CaseUuid <=", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidLike(String value) {
            addCriterion("CaseUuid like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotLike(String value) {
            addCriterion("CaseUuid not like", value, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidIn(List<String> values) {
            addCriterion("CaseUuid in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotIn(List<String> values) {
            addCriterion("CaseUuid not in", values, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidBetween(String value1, String value2) {
            addCriterion("CaseUuid between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseUuidNotBetween(String value1, String value2) {
            addCriterion("CaseUuid not between", value1, value2, "caseUuid");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNull() {
            addCriterion("CaseNo is null");
            return (Criteria) this;
        }

        public Criteria andCaseNoIsNotNull() {
            addCriterion("CaseNo is not null");
            return (Criteria) this;
        }

        public Criteria andCaseNoEqualTo(String value) {
            addCriterion("CaseNo =", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotEqualTo(String value) {
            addCriterion("CaseNo <>", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThan(String value) {
            addCriterion("CaseNo >", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoGreaterThanOrEqualTo(String value) {
            addCriterion("CaseNo >=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThan(String value) {
            addCriterion("CaseNo <", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLessThanOrEqualTo(String value) {
            addCriterion("CaseNo <=", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoLike(String value) {
            addCriterion("CaseNo like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotLike(String value) {
            addCriterion("CaseNo not like", value, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoIn(List<String> values) {
            addCriterion("CaseNo in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotIn(List<String> values) {
            addCriterion("CaseNo not in", values, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoBetween(String value1, String value2) {
            addCriterion("CaseNo between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andCaseNoNotBetween(String value1, String value2) {
            addCriterion("CaseNo not between", value1, value2, "caseNo");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNull() {
            addCriterion("LossType is null");
            return (Criteria) this;
        }

        public Criteria andLossTypeIsNotNull() {
            addCriterion("LossType is not null");
            return (Criteria) this;
        }

        public Criteria andLossTypeEqualTo(String value) {
            addCriterion("LossType =", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotEqualTo(String value) {
            addCriterion("LossType <>", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThan(String value) {
            addCriterion("LossType >", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeGreaterThanOrEqualTo(String value) {
            addCriterion("LossType >=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThan(String value) {
            addCriterion("LossType <", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLessThanOrEqualTo(String value) {
            addCriterion("LossType <=", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeLike(String value) {
            addCriterion("LossType like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotLike(String value) {
            addCriterion("LossType not like", value, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeIn(List<String> values) {
            addCriterion("LossType in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotIn(List<String> values) {
            addCriterion("LossType not in", values, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeBetween(String value1, String value2) {
            addCriterion("LossType between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossTypeNotBetween(String value1, String value2) {
            addCriterion("LossType not between", value1, value2, "lossType");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNull() {
            addCriterion("LossId is null");
            return (Criteria) this;
        }

        public Criteria andLossIdIsNotNull() {
            addCriterion("LossId is not null");
            return (Criteria) this;
        }

        public Criteria andLossIdEqualTo(String value) {
            addCriterion("LossId =", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotEqualTo(String value) {
            addCriterion("LossId <>", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThan(String value) {
            addCriterion("LossId >", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdGreaterThanOrEqualTo(String value) {
            addCriterion("LossId >=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThan(String value) {
            addCriterion("LossId <", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLessThanOrEqualTo(String value) {
            addCriterion("LossId <=", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdLike(String value) {
            addCriterion("LossId like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotLike(String value) {
            addCriterion("LossId not like", value, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdIn(List<String> values) {
            addCriterion("LossId in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotIn(List<String> values) {
            addCriterion("LossId not in", values, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdBetween(String value1, String value2) {
            addCriterion("LossId between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossIdNotBetween(String value1, String value2) {
            addCriterion("LossId not between", value1, value2, "lossId");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNull() {
            addCriterion("LossUuid is null");
            return (Criteria) this;
        }

        public Criteria andLossUuidIsNotNull() {
            addCriterion("LossUuid is not null");
            return (Criteria) this;
        }

        public Criteria andLossUuidEqualTo(String value) {
            addCriterion("LossUuid =", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotEqualTo(String value) {
            addCriterion("LossUuid <>", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThan(String value) {
            addCriterion("LossUuid >", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidGreaterThanOrEqualTo(String value) {
            addCriterion("LossUuid >=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThan(String value) {
            addCriterion("LossUuid <", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLessThanOrEqualTo(String value) {
            addCriterion("LossUuid <=", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidLike(String value) {
            addCriterion("LossUuid like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotLike(String value) {
            addCriterion("LossUuid not like", value, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidIn(List<String> values) {
            addCriterion("LossUuid in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotIn(List<String> values) {
            addCriterion("LossUuid not in", values, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidBetween(String value1, String value2) {
            addCriterion("LossUuid between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andLossUuidNotBetween(String value1, String value2) {
            addCriterion("LossUuid not between", value1, value2, "lossUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidIsNull() {
            addCriterion("SurveyUserUuid is null");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidIsNotNull() {
            addCriterion("SurveyUserUuid is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidEqualTo(String value) {
            addCriterion("SurveyUserUuid =", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidNotEqualTo(String value) {
            addCriterion("SurveyUserUuid <>", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidGreaterThan(String value) {
            addCriterion("SurveyUserUuid >", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyUserUuid >=", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidLessThan(String value) {
            addCriterion("SurveyUserUuid <", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidLessThanOrEqualTo(String value) {
            addCriterion("SurveyUserUuid <=", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidLike(String value) {
            addCriterion("SurveyUserUuid like", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidNotLike(String value) {
            addCriterion("SurveyUserUuid not like", value, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidIn(List<String> values) {
            addCriterion("SurveyUserUuid in", values, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidNotIn(List<String> values) {
            addCriterion("SurveyUserUuid not in", values, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidBetween(String value1, String value2) {
            addCriterion("SurveyUserUuid between", value1, value2, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserUuidNotBetween(String value1, String value2) {
            addCriterion("SurveyUserUuid not between", value1, value2, "surveyUserUuid");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeIsNull() {
            addCriterion("SurveyUserCode is null");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeIsNotNull() {
            addCriterion("SurveyUserCode is not null");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeEqualTo(String value) {
            addCriterion("SurveyUserCode =", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeNotEqualTo(String value) {
            addCriterion("SurveyUserCode <>", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeGreaterThan(String value) {
            addCriterion("SurveyUserCode >", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeGreaterThanOrEqualTo(String value) {
            addCriterion("SurveyUserCode >=", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeLessThan(String value) {
            addCriterion("SurveyUserCode <", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeLessThanOrEqualTo(String value) {
            addCriterion("SurveyUserCode <=", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeLike(String value) {
            addCriterion("SurveyUserCode like", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeNotLike(String value) {
            addCriterion("SurveyUserCode not like", value, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeIn(List<String> values) {
            addCriterion("SurveyUserCode in", values, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeNotIn(List<String> values) {
            addCriterion("SurveyUserCode not in", values, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeBetween(String value1, String value2) {
            addCriterion("SurveyUserCode between", value1, value2, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andSurveyUserCodeNotBetween(String value1, String value2) {
            addCriterion("SurveyUserCode not between", value1, value2, "surveyUserCode");
            return (Criteria) this;
        }

        public Criteria andDealFlagIsNull() {
            addCriterion("DealFlag is null");
            return (Criteria) this;
        }

        public Criteria andDealFlagIsNotNull() {
            addCriterion("DealFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDealFlagEqualTo(String value) {
            addCriterion("DealFlag =", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagNotEqualTo(String value) {
            addCriterion("DealFlag <>", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagGreaterThan(String value) {
            addCriterion("DealFlag >", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagGreaterThanOrEqualTo(String value) {
            addCriterion("DealFlag >=", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagLessThan(String value) {
            addCriterion("DealFlag <", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagLessThanOrEqualTo(String value) {
            addCriterion("DealFlag <=", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagLike(String value) {
            addCriterion("DealFlag like", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagNotLike(String value) {
            addCriterion("DealFlag not like", value, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagIn(List<String> values) {
            addCriterion("DealFlag in", values, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagNotIn(List<String> values) {
            addCriterion("DealFlag not in", values, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagBetween(String value1, String value2) {
            addCriterion("DealFlag between", value1, value2, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andDealFlagNotBetween(String value1, String value2) {
            addCriterion("DealFlag not between", value1, value2, "dealFlag");
            return (Criteria) this;
        }

        public Criteria andIsLockingIsNull() {
            addCriterion("IsLocking is null");
            return (Criteria) this;
        }

        public Criteria andIsLockingIsNotNull() {
            addCriterion("IsLocking is not null");
            return (Criteria) this;
        }

        public Criteria andIsLockingEqualTo(String value) {
            addCriterion("IsLocking =", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingNotEqualTo(String value) {
            addCriterion("IsLocking <>", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingGreaterThan(String value) {
            addCriterion("IsLocking >", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingGreaterThanOrEqualTo(String value) {
            addCriterion("IsLocking >=", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingLessThan(String value) {
            addCriterion("IsLocking <", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingLessThanOrEqualTo(String value) {
            addCriterion("IsLocking <=", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingLike(String value) {
            addCriterion("IsLocking like", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingNotLike(String value) {
            addCriterion("IsLocking not like", value, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingIn(List<String> values) {
            addCriterion("IsLocking in", values, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingNotIn(List<String> values) {
            addCriterion("IsLocking not in", values, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingBetween(String value1, String value2) {
            addCriterion("IsLocking between", value1, value2, "isLocking");
            return (Criteria) this;
        }

        public Criteria andIsLockingNotBetween(String value1, String value2) {
            addCriterion("IsLocking not between", value1, value2, "isLocking");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("UserName is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("UserName is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("UserName =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("UserName <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("UserName >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("UserName >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("UserName <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("UserName <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("UserName like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("UserName not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("UserName in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("UserName not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("UserName between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("UserName not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNull() {
            addCriterion("UserCode is null");
            return (Criteria) this;
        }

        public Criteria andUserCodeIsNotNull() {
            addCriterion("UserCode is not null");
            return (Criteria) this;
        }

        public Criteria andUserCodeEqualTo(String value) {
            addCriterion("UserCode =", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotEqualTo(String value) {
            addCriterion("UserCode <>", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThan(String value) {
            addCriterion("UserCode >", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeGreaterThanOrEqualTo(String value) {
            addCriterion("UserCode >=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThan(String value) {
            addCriterion("UserCode <", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLessThanOrEqualTo(String value) {
            addCriterion("UserCode <=", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeLike(String value) {
            addCriterion("UserCode like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotLike(String value) {
            addCriterion("UserCode not like", value, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeIn(List<String> values) {
            addCriterion("UserCode in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotIn(List<String> values) {
            addCriterion("UserCode not in", values, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeBetween(String value1, String value2) {
            addCriterion("UserCode between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andUserCodeNotBetween(String value1, String value2) {
            addCriterion("UserCode not between", value1, value2, "userCode");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNull() {
            addCriterion("HandleTime is null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNotNull() {
            addCriterion("HandleTime is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeEqualTo(Date value) {
            addCriterion("HandleTime =", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotEqualTo(Date value) {
            addCriterion("HandleTime <>", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThan(Date value) {
            addCriterion("HandleTime >", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("HandleTime >=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThan(Date value) {
            addCriterion("HandleTime <", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanOrEqualTo(Date value) {
            addCriterion("HandleTime <=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIn(List<Date> values) {
            addCriterion("HandleTime in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotIn(List<Date> values) {
            addCriterion("HandleTime not in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeBetween(Date value1, Date value2) {
            addCriterion("HandleTime between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotBetween(Date value1, Date value2) {
            addCriterion("HandleTime not between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("Flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("Flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("Flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("Flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("Flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("Flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("Flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("Flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("Flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("Flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("Flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("Flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("Flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("Flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andN1IsNull() {
            addCriterion("N1 is null");
            return (Criteria) this;
        }

        public Criteria andN1IsNotNull() {
            addCriterion("N1 is not null");
            return (Criteria) this;
        }

        public Criteria andN1EqualTo(String value) {
            addCriterion("N1 =", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotEqualTo(String value) {
            addCriterion("N1 <>", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThan(String value) {
            addCriterion("N1 >", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1GreaterThanOrEqualTo(String value) {
            addCriterion("N1 >=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThan(String value) {
            addCriterion("N1 <", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1LessThanOrEqualTo(String value) {
            addCriterion("N1 <=", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Like(String value) {
            addCriterion("N1 like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotLike(String value) {
            addCriterion("N1 not like", value, "n1");
            return (Criteria) this;
        }

        public Criteria andN1In(List<String> values) {
            addCriterion("N1 in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotIn(List<String> values) {
            addCriterion("N1 not in", values, "n1");
            return (Criteria) this;
        }

        public Criteria andN1Between(String value1, String value2) {
            addCriterion("N1 between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN1NotBetween(String value1, String value2) {
            addCriterion("N1 not between", value1, value2, "n1");
            return (Criteria) this;
        }

        public Criteria andN2IsNull() {
            addCriterion("N2 is null");
            return (Criteria) this;
        }

        public Criteria andN2IsNotNull() {
            addCriterion("N2 is not null");
            return (Criteria) this;
        }

        public Criteria andN2EqualTo(String value) {
            addCriterion("N2 =", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotEqualTo(String value) {
            addCriterion("N2 <>", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThan(String value) {
            addCriterion("N2 >", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2GreaterThanOrEqualTo(String value) {
            addCriterion("N2 >=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThan(String value) {
            addCriterion("N2 <", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2LessThanOrEqualTo(String value) {
            addCriterion("N2 <=", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Like(String value) {
            addCriterion("N2 like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotLike(String value) {
            addCriterion("N2 not like", value, "n2");
            return (Criteria) this;
        }

        public Criteria andN2In(List<String> values) {
            addCriterion("N2 in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotIn(List<String> values) {
            addCriterion("N2 not in", values, "n2");
            return (Criteria) this;
        }

        public Criteria andN2Between(String value1, String value2) {
            addCriterion("N2 between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN2NotBetween(String value1, String value2) {
            addCriterion("N2 not between", value1, value2, "n2");
            return (Criteria) this;
        }

        public Criteria andN3IsNull() {
            addCriterion("N3 is null");
            return (Criteria) this;
        }

        public Criteria andN3IsNotNull() {
            addCriterion("N3 is not null");
            return (Criteria) this;
        }

        public Criteria andN3EqualTo(String value) {
            addCriterion("N3 =", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotEqualTo(String value) {
            addCriterion("N3 <>", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThan(String value) {
            addCriterion("N3 >", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3GreaterThanOrEqualTo(String value) {
            addCriterion("N3 >=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThan(String value) {
            addCriterion("N3 <", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3LessThanOrEqualTo(String value) {
            addCriterion("N3 <=", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Like(String value) {
            addCriterion("N3 like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotLike(String value) {
            addCriterion("N3 not like", value, "n3");
            return (Criteria) this;
        }

        public Criteria andN3In(List<String> values) {
            addCriterion("N3 in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotIn(List<String> values) {
            addCriterion("N3 not in", values, "n3");
            return (Criteria) this;
        }

        public Criteria andN3Between(String value1, String value2) {
            addCriterion("N3 between", value1, value2, "n3");
            return (Criteria) this;
        }

        public Criteria andN3NotBetween(String value1, String value2) {
            addCriterion("N3 not between", value1, value2, "n3");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table prpm_image_survey
     *
     * @mbggenerated do_not_delete_during_merge Tue Jun 07 10:21:44 CST 2016
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * 图片查勘表
     * 数据库表：prpm_image_survey
     * 
     * @author fucy
     * @since 2016-06-05
     */
    public static class Criterion {
        private String  condition;
        private Object  value;
        private Object  secondValue;
        private boolean noValue;
        private boolean singleValue;
        private boolean betweenValue;
        private boolean listValue;
        private String  typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}